<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="300">
<title>房源</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/qiaoxi/css/scroll.css">
<script src="__PUBLIC__/qiaoxi/js/jquery-1.4.4.min.js"></script>
<script src="__PUBLIC__/qiaoxi/js/jq_scroll.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#scrollDiv").Scroll({line:1,speed:500,timer:3000,up:"but_up",down:"but_down"});
});
</script>

</head>
<body>
<div>
<h3 class="qiaoxi">乔喜房产实时房源展示系统</h3>
<div class="scrollbox">
    <div id="scrollDiv">
        <ul>
<?php
	foreach ($data as $v)
	{
        $msg="<li><div id='fangyuan'><span class='EstateName'>".$v['EstateName'].'</span></div><div class="clear"> <span class="floor stretch">'.$v['Floor'].'楼</span>'.'&nbsp; &nbsp; <span class="hx">'.$v['hx'].'</span>&nbsp; &nbsp; <span class="square">'.round($v['Square']).'平</span>&nbsp; &nbsp; <span class="price">&nbsp; &nbsp; '.round($v['Price']).'万</span></div><div class="clear"></div><div id="maidian">'.substr($v['content'],21).'</div></li>';
		echo $msg;
	}
?>
        </ul>
    </div>
    <div class="scroltit"><div class="updown" id="but_down">向上</div><div class="updown" id="but_up">向下</div></div>
</div>

</div>
</body>
</html>